import {
  Expand,
  Fold,
  CaretTop,
  Location,
  Document,
  Menu,
  Setting,
  HomeFilled,
  ArrowRight,
  Search,
  OfficeBuilding,
  Plus,
  Minus,
  Money,
  UploadFilled,
  Sell,
  Edit,
  Delete,
  UserFilled,
  User,
  QuestionFilled,
  CircleClose,
  Wallet,
  Discount,
  ShoppingBag,
  Lock,
  CaretBottom,
  Suitcase,
  Cellphone,
  Postcard,
  Notebook,
  ArrowDown,
  Operation,
  TrendCharts,
  Select,
  Avatar,
  Histogram,
  Management,
  LocationInformation,
  Loading,
  FullScreen,
} from '@element-plus/icons-vue'

const iconSet = [
  Expand,
  Fold,
  CaretTop,
  Location,
  Document,
  Menu,
  Setting,
  HomeFilled,
  ArrowRight,
  Search,
  OfficeBuilding,
  Plus,
  Minus,
  Money,
  UploadFilled,
  Sell,
  Edit,
  Delete,
  UserFilled,
  User,
  QuestionFilled,
  CircleClose,
  Wallet,
  Discount,
  ShoppingBag,
  Lock,
  CaretBottom,
  Suitcase,
  Cellphone,
  Postcard,
  Notebook,
  ArrowDown,
  Operation,
  TrendCharts,
  Select,
  Avatar,
  Histogram,
  Management,
  LocationInformation,
  Loading,
  FullScreen,
]

export const install = ({ app }) => {
  iconSet.forEach((icon) => app.component(icon.name, icon))
}
